/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package upeu.cepre.model;

import java.io.Serializable;
import javax.persistence.*;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Elvis Zangetsu
 */
@Entity
@Table(name = "detalleperiodoalumno")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "Detalleperiodoalumno.findAll", query = "SELECT d FROM Detalleperiodoalumno d"),
    @NamedQuery(name = "Detalleperiodoalumno.findByIdDetallePeriodoAlumno", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.idDetallePeriodoAlumno = :idDetallePeriodoAlumno"),
    @NamedQuery(name = "Detalleperiodoalumno.findByIdPeriodo", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.idPeriodo = :idPeriodo"),
    @NamedQuery(name = "Detalleperiodoalumno.findByIdAlumno", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.idAlumno = :idAlumno"),
    @NamedQuery(name = "Detalleperiodoalumno.findByNotaCursosFinal", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.notaCursosFinal = :notaCursosFinal"),
    @NamedQuery(name = "Detalleperiodoalumno.findByNotaExamenSemanalFinal", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.notaExamenSemanalFinal = :notaExamenSemanalFinal"),
    @NamedQuery(name = "Detalleperiodoalumno.findByNotaExamenFinal", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.notaExamenFinal = :notaExamenFinal"),
    @NamedQuery(name = "Detalleperiodoalumno.findByPagoMatricula", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.pagoMatricula = :pagoMatricula"),
    @NamedQuery(name = "Detalleperiodoalumno.findByPagoEducacion", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.pagoEducacion = :pagoEducacion"),
    @NamedQuery(name = "Detalleperiodoalumno.findByPagoIngreso", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.pagoIngreso = :pagoIngreso"),
    @NamedQuery(name = "Detalleperiodoalumno.findByNumCuotas", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.numCuotas = :numCuotas"),
    @NamedQuery(name = "Detalleperiodoalumno.findByIdCarrera", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.idCarrera = :idCarrera"),
    @NamedQuery(name = "Detalleperiodoalumno.findByIdDellatePeriodoSede", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.idDellatePeriodoSede = :idDellatePeriodoSede"),
    @NamedQuery(name = "Detalleperiodoalumno.findByCampus", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.campus = :campus"),
    @NamedQuery(name = "Detalleperiodoalumno.findByBoucher", query = "SELECT d FROM Detalleperiodoalumno d WHERE d.boucher = :boucher")})
public class Detalleperiodoalumno implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "idDetallePeriodoAlumno")
    private String idDetallePeriodoAlumno;
    @Column(name = "idPeriodo")
    private String idPeriodo;
    @Column(name = "idAlumno")
    private String idAlumno;
    @Column(name = "notaCursosFinal")
    private String notaCursosFinal;
    @Column(name = "notaExamenSemanalFinal")
    private String notaExamenSemanalFinal;
    @Column(name = "notaExamenFinal")
    private String notaExamenFinal;
    @Column(name = "pagoMatricula")
    private String pagoMatricula;
    @Column(name = "pagoEducacion")
    private String pagoEducacion;
    @Column(name = "pagoIngreso")
    private String pagoIngreso;
    @Column(name = "numCuotas")
    private String numCuotas;
    @Column(name = "idCarrera")
    private String idCarrera;
    @Column(name = "idDellatePeriodoSede")
    private String idDellatePeriodoSede;
    @Column(name = "campus")
    private String campus;
    @Column(name = "boucher")
    private String boucher;

    public Detalleperiodoalumno() {
    }

    public Detalleperiodoalumno(String idDetallePeriodoAlumno) {
        this.idDetallePeriodoAlumno = idDetallePeriodoAlumno;
    }

    public String getIdDetallePeriodoAlumno() {
        return idDetallePeriodoAlumno;
    }

    public void setIdDetallePeriodoAlumno(String idDetallePeriodoAlumno) {
        this.idDetallePeriodoAlumno = idDetallePeriodoAlumno;
    }

    public String getIdPeriodo() {
        return idPeriodo;
    }

    public void setIdPeriodo(String idPeriodo) {
        this.idPeriodo = idPeriodo;
    }

    public String getIdAlumno() {
        return idAlumno;
    }

    public void setIdAlumno(String idAlumno) {
        this.idAlumno = idAlumno;
    }

    public String getNotaCursosFinal() {
        return notaCursosFinal;
    }

    public void setNotaCursosFinal(String notaCursosFinal) {
        this.notaCursosFinal = notaCursosFinal;
    }

    public String getNotaExamenSemanalFinal() {
        return notaExamenSemanalFinal;
    }

    public void setNotaExamenSemanalFinal(String notaExamenSemanalFinal) {
        this.notaExamenSemanalFinal = notaExamenSemanalFinal;
    }

    public String getNotaExamenFinal() {
        return notaExamenFinal;
    }

    public void setNotaExamenFinal(String notaExamenFinal) {
        this.notaExamenFinal = notaExamenFinal;
    }

    public String getPagoMatricula() {
        return pagoMatricula;
    }

    public void setPagoMatricula(String pagoMatricula) {
        this.pagoMatricula = pagoMatricula;
    }

    public String getPagoEducacion() {
        return pagoEducacion;
    }

    public void setPagoEducacion(String pagoEducacion) {
        this.pagoEducacion = pagoEducacion;
    }

    public String getPagoIngreso() {
        return pagoIngreso;
    }

    public void setPagoIngreso(String pagoIngreso) {
        this.pagoIngreso = pagoIngreso;
    }

    public String getNumCuotas() {
        return numCuotas;
    }

    public void setNumCuotas(String numCuotas) {
        this.numCuotas = numCuotas;
    }

    public String getIdCarrera() {
        return idCarrera;
    }

    public void setIdCarrera(String idCarrera) {
        this.idCarrera = idCarrera;
    }

    public String getIdDellatePeriodoSede() {
        return idDellatePeriodoSede;
    }

    public void setIdDellatePeriodoSede(String idDellatePeriodoSede) {
        this.idDellatePeriodoSede = idDellatePeriodoSede;
    }

    public String getCampus() {
        return campus;
    }

    public void setCampus(String campus) {
        this.campus = campus;
    }

    public String getBoucher() {
        return boucher;
    }

    public void setBoucher(String boucher) {
        this.boucher = boucher;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (idDetallePeriodoAlumno != null ? idDetallePeriodoAlumno.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Detalleperiodoalumno)) {
            return false;
        }
        Detalleperiodoalumno other = (Detalleperiodoalumno) object;
        if ((this.idDetallePeriodoAlumno == null && other.idDetallePeriodoAlumno != null) || (this.idDetallePeriodoAlumno != null && !this.idDetallePeriodoAlumno.equals(other.idDetallePeriodoAlumno))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "upeu.cepre.model.Detalleperiodoalumno[ idDetallePeriodoAlumno=" + idDetallePeriodoAlumno + " ]";
    }
    
}
